package forumDomains

/**
 * Created with IntelliJ IDEA.
 * User: Install
 * Date: 12.04.13
 * Time: 13:59
 * To change this template use File | Settings | File Templates.
 */
class Thread {

    static hasMany = [listaPost : Post]
    //List<Post> listaPost;
    List<Tag> listaTag;
    Course course;
    Post domanda;
    List<User> partecipanti;

    static constraints={
        domanda(blanck: false)
        listaTag(blanck: false)
        partecipanti(blanck: false)
        course(blanck: false)

    }
}
